package com.haima.agentpartner;

/**
 * 中间件请求agent接口的请求参数格式封装
 * type:请求的业务类型
 * data: 请求的业务携带的数据，以json字符串的格式传递
 */
public class MiddleWareRequest {
    private String type;
    private String data;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public MiddleWareRequest() {
    }

    public MiddleWareRequest(String type, String data) {
        this.type = type;
        this.data = data;
    }

    @Override
    public String toString() {
        return "MiddleWareRequest{" +
                "type='" + type + '\'' +
                ", data='" + data + '\'' +
                '}';
    }
}
